//
//  BGGraphics.h
//  Korting
//
//  Created by wang on 16/6/5.
//  Copyright © 2016年 BG. All rights reserved.
//

#import <Foundation/Foundation.h>

//画四角圆角
extern void CGContextAddRoundCornerToPath(CGContextRef context, CGRect rect, CGFloat cornerRadius);
//画圆形区域
extern void CGContextAddCircleRectToPath(CGContextRef context, CGRect rect);

extern CGRect CGRectFromSize(CGSize size);
extern CGPoint CGRectGetCenter(CGRect rect);

@interface BGGraphics : NSObject

@end
